﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Models;

namespace IDAL
{
    public interface IWorksPicInfo
    {
        List<WorksPicInfo> GetWorkAllPicInfo(int WorksID);
        int AddWorksPicInfo(WorksPicInfo pic);
        //int UpdateWorksPicInfo(string sqlString);
        //int DeleteWorksPicInfo(string sqlString);
        WorksPicInfo GetTopOneWorksPics(int WorksID);
        WorksPicInfo GetOneWorksPicInfo(int PicID);
        int DeleteWorksPicInfo(int PicID);
        WorksPicInfo GetOneWorksPicInfoFromURL(string url);
        int UpdateWorksPicInfo(WorksPicInfo pic);
    }
}
